* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    padding: 20px;
    background-color: #f5f5f5;
}

.accordion {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header.active {
    background-color: #f0f0f0;
}

.accordion-icon {
    margin-right: 12px;
    font-size: 18px;
    color: #555;
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(90deg);
    color: #2196F3;
}

.accordion-title {
    font-weight: 500;
    color: #333;
    flex-grow: 1;
}

.accordion-arrow {
    font-size: 14px;
    color: #777;
    transition: transform 0.3s;
}

.accordion-header.active .accordion-arrow {
    transform: rotate(90deg);
    color: #2196F3;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
}

.accordion-content-inner {
    padding: 0 20px 16px 50px;
}

.accordion-link {
    display: block;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid #eee;
}

.accordion-link:last-child {
    border-bottom: none;
}

.accordion-link:hover {
    color: #2196F3;
}

.accordion-link i {
    margin-right: 8px;
    font-size: 14px;
    width: 20px;
    text-align: center;
}